Skip to content

Conversation

@5468sun
Copy link

@5468sun 5468sun commented May 19, 2019

Im using self defined unit pxdp (pixel to Density-independent pixels) and pxfz (pixel to font size) to do dynamic sizing later. but throw exception when packaging. I think we should add this two units or better remove the restrain.

@jacobp100
Copy link
Contributor

Thanks for the PR!

In CSS, pixels are density independent - so you might be able to just use that directly!

I understand we currently support units not available in RN, but I think adding units not available in CSS is possibly a step too far for this project at least. Although you're more than welcome to fork if you need this for your project.

@jacobp100 jacobp100 closed this May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants